package com.wms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("调拨单号保存")
public class AllocateSaveVo {
    @ApiModelProperty(value = "调拨单id")
    String id;
    @ApiModelProperty(value = "调拨单号")
    String code;
    @ApiModelProperty(value = "调出仓库")
    String outName;
    @ApiModelProperty(value = "调出仓库id")
    String outId;
    @ApiModelProperty(value = "调入仓库")
    String inName;
    @ApiModelProperty(value = "调入仓库id")
    String inId;
    @ApiModelProperty(value = "调拨日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING)
    LocalDateTime transferDate;
    @ApiModelProperty(value = "调拨人")
    String userName;
    @ApiModelProperty(value = "审核状态")
    Integer auditStatus;
    @ApiModelProperty(value = "调拨状态")
    Integer status;
    @ApiModelProperty(value = "装框数量")
    Integer num;
    @ApiModelProperty(value = "审核人")
    Integer auditUser;
}
